{extend name="public/base"/}
{block name="style"}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/libs/bootstrap-editable.css">
{/block}
{block name="body"}
<div class="main-box clearfix">
	<header class="main-box-header clearfix">
		<div class="pull-left">
			<h2>{$meta_title}</h2>
		</div>
		<div class="pull-right">
		</div>
	</header>
	<div class="main-box-body clearfix">
		<form method="post" class="form form-horizontal">
			<div class="form-group">
				<label class="col-lg-2 control-label">插件名</label>
				<div class="col-lg-8 col-sm-10">
					{:widget('common/Form/show',array(array('name'=>'title','title'=>'插件名','type'=>'text'),''))}
					<div class="help-block">请输入插件名</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-2 control-label">插件标识名</label>
				<div class="col-lg-8 col-sm-10">
					{:widget('common/Form/show',array(array('name'=>'name','title'=>'插件标识名','type'=>'text'),''))}
					<div class="help-block">请输入插件标识</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-2 control-label">插件版本</label>
				<div class="col-lg-8 col-sm-10">
					{:widget('common/Form/show',array(array('name'=>'version','title'=>'插件版本','type'=>'text'),''))}
					<div class="help-block">请输入插件版本</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-2 control-label">插件作者</label>
				<div class="col-lg-8 col-sm-10">
					{:widget('common/Form/show',array(array('name'=>'author','title'=>'插件作者','type'=>'text'),''))}
					<div class="help-block">请输入插件作者</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-2 control-label">插件描述</label>
				<div class="col-lg-8 col-sm-10">
					{:widget('common/Form/show',array(array('name'=>'description','title'=>'插件描述','type'=>'textarea'),''))}
					<div class="help-block">请输入插件描述</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-2 control-label">是否启用</label>
				<div class="col-lg-8 col-sm-10">
					{:widget('common/Form/show',array(array('name'=>'is_open','title'=>'是否启用','type'=>'radio','option'=>array('1'=>'启用','0'=>'禁用')),''))}
					<div class="help-block">请输入插件描述</div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-lg-2 control-label">是否需要配置</label>
				<div class="col-lg-8 col-sm-10">
					{:widget('common/Form/show',array(array('name'=>'has_config','title'=>'是否需要配置','type'=>'radio','option'=>array('1'=>'启用','0'=>'禁用')),''))}
					<div class="help-block">请输入插件描述</div>
				</div>
			</div>
			<div class="form-group">
				<div class="col-lg-offset-2 col-lg-10">
					<input type="hidden" name="id" value="{$info['id']|default=''}">            
					<button class="btn btn-success submit-btn ajax-post" type="submit" target-form="form-horizontal">确 定</button>        
					<button class="btn btn-primary submit-btn" type="button">预 览</button>
					<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
				</div>
			</div>
		</form>
	</div>
</div>
{/block}
{block name="script"}
{/block}